#include "precompile.h"

#include "CommandProcessor.h"
#include "command/ICommand.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

CommandProcessor::CommandProcessor()
{
}

CommandProcessor::~CommandProcessor()
{
}

void CommandProcessor::ExecuteCommand(ICommand* command)
{
	//transaction begin
	command->Execute();
	//transaction end
}

void CommandProcessor::Undo()
{

}

void CommandProcessor::Redo()
{

}